Repository navigation
Install the controller-patterns skill in core_setup - #232
Merged
Merged
Conversation
Every new app gets RoleModel's controller shapes alongside the polymorphic-parent-resources and rake-tasks skills. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
OutlawAndy
marked this pull request as ready for review
December 2, 2026 00:15
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Generated apps now prefer `it`, endless single-line methods and trailing commas in multiline literals, all autocorrectable. Rails/LexicallyScopedActionFilter is off so controller-patterns' parent and child setters can keep their inverted index/new/create conditions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
OutlawAndy
added a commit
that referenced
this pull request
Dec 2, 2026
New apps start with AGENTS.md, a conventions index with 14 convention files, Copilot instructions pointing at them, and the surface_conventions hook that shows Claude Code the conventions matching each file it edits. The conventions were filtered from the Compass agent-docs port down to the rules every RoleModel app should start with. The hook is downloaded from RoleModel/skills' scaffold-docs skill so there is one copy to maintain. Also lists controller-patterns in the README's skills table, which #232 missed. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
rolemodel:core_setupnow installs thecontroller-patternsagent skill, alongsidepolymorphic-parent-resourcesandrake-tasks.Depends on RoleModel/skills#105. That PR adds the skill to
RoleModel/skills. Until it merges,install_skill 'controller-patterns'will fail, becausenpx skills addcan't find the skill. This PR stays a draft until then.Also updated:
sayline is now "Installing agent skills". Controller shapes aren't arolemodel_railsutility.itblock parameters, endless single-line methods, and trailing commas in multiline arrays and hashes. All four are autocorrectable and run atrefactorseverity.Rails/LexicallyScopedActionFilter, so the skill's parent and child setters can keep their invertedindex new createconditions.🤖 Generated with Claude Code